import {myRequest} from "../utils/request.js"
//使用条款
export function privacy(data){
	return myRequest({
		url:"agreement/privacy",
		method: "post",
		data:data||{}
	})
}
//违规处罚
export function punish(data){
	return myRequest({
		url:"agreement/punish",
		method: "post",
		data:data||{}
	})
}
//关于我们

export function aboutUs(data){
	return myRequest({
		url:"agreement/aboutUs",
		method: "post",
		data:data||{}
	})
}
//邀请好友
export function share(data){
	return myRequest({
		url:"member/share",
		method: "post",
		data:data||{}
	})
}
//上传图片

export function uploadImg(data){
	return myRequest({
		url:"upload/uploadImg",
		method: "post",
		data:data||{}
	})
}
//查询文章是否未读

export function isAllRead(data){
	return myRequest({
		url:"article/isAllRead",
		method: "post",
		data:data||{}
	})
}
//签到  兑换

export function receiveList(data){
	return myRequest({
		url:"income_record/receiveList",
		method: "post",
		data:data||{}
	})
}
//签到领取 兑换

export function signReceive(data){
	return myRequest({
		url:"income_record/signReceive",
		method: "post",
		data:data||{}
	})
}
//签到规则

export function signrule(data){
	return myRequest({
		url:"agreement/signinUs",
		method: "post",
		data:data||{}
	})
}
//权益列表

export function equityList(data){
	return myRequest({
		url:"equity/equityList",
		method: "post",
		data:data||{}
	})
}
// 我的团队
export function myTeam(data){
	return myRequest({
		url:"equity/myTeam",
		method: "post",
		data:data||{}
	})
}

export function applicationCondition(data){
	return myRequest({
		url:"equity/applicationCondition",
		method: "post",
		data:data||{}
	})
}

export function upEquity(data){
	return myRequest({
		url:"equity/upEquity",
		method: "post",
		data:data||{}
	})
}

export function recharge(data){
	return myRequest({
		url:"agreement/recharge",
		method: "post",
		data:data||{}
	})
}

export function communityService(data){
	return myRequest({
		url:"agreement/communityService",
		method: "post",
		data:data||{}
	})
}
// 读取免责声明
export function readDisclaimers(data){
	return myRequest({
		url:"member/readDisclaimers",
		method: "post",
		data:data||{}
	})
}
// 背景图
export function agreementImages(data){
	return myRequest({
		url:"agreement/images",
		method: "post",
		data:data||{}
	})
}
// 获取等级
export function memberLevel(data){
	return myRequest({
		url:"member/memberLevel",
		method: "post",
		data:data||{}
	})
}
export function incomeRecord(data){
	return myRequest({
		url:"member_brand_activity/incomeRecord",
		method: "post",
		data:data||{}
	})
}

//
// ----------------------------------------------------------分割线---------------------------------------------------------